#include <stdio.h>

int AddToTop(int Top){
    int sum = 0;
    int i = 1;
    for(;i <= Top; i++){
        sum += i;
    }
    return sum;
}

int main(){
    int Top = 100;
    int ret = AddToTop(Top);
    printf("Add 1 to %d:\n", Top);
    printf("%d\n", ret);

    return 0;
}
